﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mfSelfForum.aspx.cs" Inherits="msBsc.WebUi.mMall.Seller.mfSelfForum" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>地接客-我的推荐</title>
    <%=getMeta()%>
    <link href="/themes/mStyle1/css/home/base.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mGlobal.css" charset="gbk" />
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mhome.css" charset="gbk" />
    <%=getBodyBeforeJs()%>
    <style type="text/css">
        .carlist {
            bottom: 0;
            left: 0;
            overflow: auto;
            top: 97px;
            width: 100%;
            z-index: -1;
            overflow-x: visible;
            overflow-y: visible;
        }

        .listcon {
            position: relative;
            width: 100%;
        }

            .listcon dl {
                border: 1px solid #ffffff;
                background-color: #ffffff;
                margin: 13px auto;
                overflow: auto;
                position: relative;
                width: 98%;
            }

                .listcon dl dt {
                    display: block;
                    float: left;
                    width: 130px;
                }

        a {
            color: inherit;
            outline: medium none;
            text-decoration: none;
        }

        .listcon dl dt img {
            display: block;
            height: 80px;
            margin: 13px auto;
            width: 80px;
            border-radius: 55px;
        }

        img {
            border: 0 none;
        }

        .listcon dl dd {
            display: block;
            font-size: 15px;
            line-height: 21px;
        }

            .listcon dl dd h3 {
                font-size: 14px;
                font-weight: normal;
                height: 37px;
                line-height: 43px;
                overflow: hidden;
                font-weight: bold;
                color: #c3c3c3;
            }

            .listcon dl dd p {
                color: #666666;
                line-height: 35px;
                font-size: 17px;
                overflow: hidden;
                font-weight: bold;
            }

        .b_price {
            color: red;
            font-size: 15px;
            font-weight: bold;
        }

        .listcon dl dd p .span_l {
            margin-right: 5px;
            text-align: left;
        }

        .listcon dl dd p span {
            display: block;
            float: left;
        }

        .span_r {
            float: right;
            margin-right: 5px;
            border-radius: 7px;
            display: inline-block;
            font-size: 15px;
            min-width: 50px;
            text-align: center;
        }

        body {
            margin: 0;
            padding: 0;
            background-color: #ffffff;
        }

        .viewport {
            background-color: #edeeee;
        }

        .green {
            background: none repeat scroll 0 0 #69cd38;
            border: medium none;
            border-radius: 7px;
            color: #fff;
            cursor: pointer;
            display: inline-block;
            font-size: 16px;
            font-weight: bold;
            height: 36px;
            line-height: 36px;
            padding: 0 20px;
            text-align: center;
            min-width: 200px;
            width: 100%;
        }

        .fabu {
            width: 95%;
            margin: 15px auto;
        }

        .pageInfo {
            font-size: 18px;
            height: 20px;
            padding-left: 10px;
        }

        .log {
            background-color: #ffffff;
            height: 20px;
            margin: 1px auto;
            text-align: center;
            width: 98%;
            cursor: pointer;
        }

        .noticeMSG {
            width: 100%;
            border: 1px solid #931d1d;
            background-color: #c18585;
            line-height: 24px;
            padding: 0 15px;
            font-size: 12px;
            color: #931d1d;
            margin-top: 10px;
        }
    </style>
</head>
<body style="margin: 0; padding: 0;">
    <div class="viewport">
        <%=msBsc.WebUi.Code.QtHtmlGet.GetWapHeaderMenuHtml(true) %>
        <div class="main">
            <div class="carlist">
                <%-- <div class="fabu">
                    <a href="/ms_ReleaseForum.htm" class="green">发布信息</a>
                </div>--%>
                <div class="noticeMSG">
                    公告: 手机端暂不支持发布推荐信息，请到电脑端进行发布
                </div>
                <div class="listcon" id="forumList">
                    <%--<dl>
                        <dt><a href="">
                            <img src="/UpLoad/Djack/djack.jpg 67x60img.jpg" /></a>
                        </dt>
                        <dd>
                            <h3><a href="">地界客 人名</a> <span class="span_r">2015/12/1</span></h3>

                            <p><span class="span_l">这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息这里是标题信息</p>
                        </dd>
                    </dl>--%>
                </div>
                <xmp id="svc_list_temp" style="display: none">
                        {{#for(var i=0,len=d.rows.length;i < len;i++){ }}
                            <dl onclick="window.location.href='/ms_ForumInfo.htm?forumId={{d.rows[i].SOURCE_POSTS_ID}}'">
                                <dt>
                                    <a href="/ms_ForumInfo.htm?djackId={{d.rows[i].POSTS_PUBLISH_BY}}">
                                    <img title="{{d.rows[i].CUSTOMER_NICK}}" src="{{d.rows[i].CUSTOMER_DEFAULT_PIC}} 67x60img.jpg" /></a>
                                </dt>
                                <dd>
                                    <h3><a href="/ms_ForumInfo.htm?djackId={{d.rows[i].POSTS_PUBLISH_BY}}" >{{d.rows[i].CUSTOMER_NICK}}</a>
                                        <span class="span_r">{{d.rows[i].POSTS_PUBLISH_TIME}}</span>
                                    </h3>
                                    <a title="{{d.rows[i].SOURCE_POSTS_TITLE}}"  href="/ms_ForumInfo.htm?forumId={{d.rows[i].SOURCE_POSTS_ID}}" class="span_l">
                                        {{ d.rows[i].SOURCE_POSTS_TITLE}}
                                    </a>
                                </dd>
                            </dl>
                        {{#} }}
                    </xmp>

                <div id="xLoading" style="display: none" class="log">更多信息加载中请稍后...</div>
                <div id="nextPage" onclick="goPage();" class="log">查看更多</div>
            </div>
            <%=msBsc.WebUi.Code.QtHtmlGet.GetWapMenuHtml() %>
        </div>
        <input type="hidden" id="rowCount" value="0" />
        <input type="hidden" id="pageIndex" value="1" />
    </div>
    <!--start JS引用-->
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jmPage.js,themes/Style1/jsQt.js,jqPlugin/js/laytpl.js"
        type="text/javascript"></script>
    <script type="text/javascript" src="/jqPlugin/js/jBase.js"></script>
    <!--end JS引用-->
    <script type="text/javascript">
        (function () {
            $("#h_title").text("我的旅游推荐");
            $.getMessageCount();
        })();
        var pIndex = 1;
        var pageSize = 10;
        function btnDo(sEbtn) {
            GtGrid1Action = sEbtn;
            var opart = GetGtParam();
            ajaxComm(opart);
        };

        //执行AJAX调用时获取参数
        function GetGtParam() {
            var _jsParam = new jsonRow();
            _jsParam.AddCell("pIndex", $("#pageIndex").val());
            _jsParam.AddCell("pRows", pageSize);
            _jsParam.AddCell("ACTION", GtGrid1Action);
            return _jsParam;
        };
        btnDo("init");

        function setPage(rowCount, index) {
            if (parseInt(index) < 1 || parseInt(rowCount) < 1 || (pageSize * index) >= rowCount) {
                $("#xLoading").show();
                $("#xLoading").html("下面没有更多分页了...");
                $("#nextPage").hide();
            }
            else {
                $("#xLoading").hide();
                $("#xLoading").html("正在加载中...");
                $("#nextPage").show();
            }
        }

        function goPage() {
            var pageIndex = $("#pageIndex").val();
            $("#pageIndex").val((parseInt(pageIndex) + 1));
            btnDo("init");
        }
    </script>
</body>
</html>
